import instance from './btnregister'
// 短信发送
function register (data) {
  return instance({
    url: '/sendsms',
    method: 'post',
    data
  })
}
// 注册
function btnsregister (data) {
  return instance({
    url: '/register',
    method: 'post',
    data
  })
}
// 登录
function btnlogin (data) {
  return instance({
    url: '/login',
    method: 'post',
    data
  })
}

export { register, btnsregister, btnlogin }
